package com.easybuilder.common.base.entity;

import lombok.Data;

/**
 * @author ZXS
 * @version 1.0
 * @description 类
 * @date 2021-5-30 14:41
 */
@Data
public class BaseEntity {
    //表名称
    private String tableName;
    //动态实体类
    private DynamicEntity entity;

    public BaseEntity() {
    }

    public BaseEntity(String tableName) {
        this.tableName = tableName;
    }

    public BaseEntity put(String key, Object value) {
        entity.put(key, value);
        return this;
    }
}
